<?php 
$this->E_D("DROP TABLE IF EXISTS `db_table_field`;");
$this->E_C("CREATE TABLE `db_table_field` (
  `field_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `table_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '模型ID',
  `field` varchar(50) NOT NULL DEFAULT '' COMMENT '字段名',
  `name` varchar(30) NOT NULL DEFAULT '' COMMENT '别名',
  `fieldtype` varchar(30) NOT NULL COMMENT '字段类型',
  `fieldlen` varchar(20) NOT NULL COMMENT '长度',
  `formtype` varchar(20) NOT NULL DEFAULT '' COMMENT '字段类型',
  `tips` text COMMENT '字段提示',
  `pattern` varchar(255) NOT NULL DEFAULT '' COMMENT '数据校验正则',
  `errortips` varchar(255) DEFAULT '' COMMENT '数据校验未通过的提示信息',
  `savefun` varchar(255) DEFAULT NULL,
  `savefun_trigger` varchar(50) DEFAULT NULL,
  `issystem` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否主表',
  `isunique` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '值唯一',
  `sort` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `formwidth` smallint(4) DEFAULT NULL COMMENT '元素宽度',
  `formheight` smallint(4) DEFAULT NULL COMMENT '元素高度',
  `imgwidth` smallint(6) DEFAULT '0' COMMENT '图片宽度',
  `imgheight` smallint(6) DEFAULT '0' COMMENT '图片高度',
  `defaultval` text COMMENT '默认值',
  `htmlcode` longtext COMMENT 'html代码',
  `memberhtmlcode` longtext COMMENT '会员投稿html代码',
  PRIMARY KEY (`field_id`),
  KEY `modelid` (`table_id`),
  KEY `field` (`field`,`table_id`)
) ENGINE=InnoDB AUTO_INCREMENT=263 DEFAULT CHARSET=utf8 COMMENT='模型字段列表'");
$this->E_D("replace into `db_table_field` values('108','54','title','标题','varchar','255','text','','','','',NULL,'1','0','0','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" name=\"title\" id=\"info_title\" class=\"layui-input modelform_title\" value=\"{\$r?\$r[''title'']:''''}\" style=\"\" autocomplete=\"off\">
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"title\" id=\"info_title\" class=\"span6 modelform_title\" value=\"<?=\$r?\$r[''title'']:''''?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('109','54','thumb','缩略图','varchar','255','image','','','','',NULL,'1','0','0','0','0','1000','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline file-upload\">
		<input type=\"text\" name=\"thumb\" id=\"info_thumb\" value=\"{\$r?\$r[''thumb'']:''''}\" autocomplete=\"off\" class=\"layui-input\"/>
		<div class=\"layui-btn-group\">
			<button type=\"button\" class=\"layui-btn\" onclick=\"previewImg(''info_thumb'')\"><i class=\"layui-icon\">&#xe64a;</i>预览</button>
			<button type=\"button\" class=\"layui-btn fastupimg\" data-input_id=\"info_thumb\" data-listtype=\"img\" id=\"info_thumb_Picker\"><i class=\"layui-icon\">&#xe608;</i>上传</button>
			<button type=\"button\" class=\"layui-btn\" onClick=\"selectfile(''info_thumb'','''',''img'')\"><i class=\"layui-icon\">&#xe67c;</i>浏览</button>
		</div>
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"thumb\" id=\"info_thumb\" class=\"span6 modelform_thumb\" value=\"<?=\$r?\$r[''thumb'']:''''?>\" style=\"\"/>
        <input type=\"button\" value=\"上传图片\" onClick=\"\$(this).next().click()\" class=\"liulan fr\">
        <input type=\"file\" onChange=\"ajaxupload(this,function(url){\$(''#info_thumb'').val(url)})\" style=\"height:26px; display:none\">   
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('110','54','newstime','时间','int','11','date','','','','',NULL,'1','0','0','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" autocomplete=\"off\" name=\"newstime\" id=\"info_newstime\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"  data-format=\"yyyy-MM-dd HH:mm:ss\" class=\"layui-input form-date\">
  </div>
</div>','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" autocomplete=\"off\" name=\"newstime\" com id=\"info_newstime\" class=\"span2 modelform_newstime\" onFocus=\"WdatePicker({dateFmt:''yyyy-MM-dd HH:mm:ss''})\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('111','55','title','标题','varchar','255','text','','','','',NULL,'1','0','1','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" name=\"title\" id=\"info_title\" class=\"layui-input modelform_title\" value=\"{\$r?\$r[''title'']:''''}\" style=\"\" autocomplete=\"off\">
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"title\" id=\"info_title\" class=\"span6 modelform_title\" value=\"<?=\$r?\$r[''title'']:''''?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('112','55','thumb','缩略图','varchar','255','image','','','','',NULL,'1','0','2','0','0','1000','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline file-upload\">
		<input type=\"text\" name=\"thumb\" id=\"info_thumb\" value=\"{\$r?\$r[''thumb'']:''''}\" autocomplete=\"off\" class=\"layui-input\"/>
		<div class=\"layui-btn-group\">
			<button type=\"button\" class=\"layui-btn\" onclick=\"previewImg(''info_thumb'')\"><i class=\"layui-icon\">&#xe64a;</i>预览</button>
			<button type=\"button\" class=\"layui-btn fastupimg\" data-input_id=\"info_thumb\" data-listtype=\"img\" id=\"info_thumb_Picker\"><i class=\"layui-icon\">&#xe608;</i>上传</button>
			<button type=\"button\" class=\"layui-btn\" onClick=\"selectfile(''info_thumb'','''',''img'')\"><i class=\"layui-icon\">&#xe67c;</i>浏览</button>
		</div>
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"thumb\" id=\"info_thumb\" class=\"span6 modelform_thumb\" value=\"<?=\$r?\$r[''thumb'']:''''?>\" style=\"\"/>
        <input type=\"button\" value=\"上传图片\" onClick=\"\$(this).next().click()\" class=\"liulan fr\">
        <input type=\"file\" onChange=\"ajaxupload(this,function(url){\$(''#info_thumb'').val(url)})\" style=\"height:26px; display:none\">   
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('113','55','newstime','时间','int','11','date','','','','',NULL,'1','0','3','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" autocomplete=\"off\" name=\"newstime\" id=\"info_newstime\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"  data-format=\"yyyy-MM-dd HH:mm:ss\" class=\"layui-input form-date\">
  </div>
</div>','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" autocomplete=\"off\" name=\"newstime\" com id=\"info_newstime\" class=\"span2 modelform_newstime\" onFocus=\"WdatePicker({dateFmt:''yyyy-MM-dd HH:mm:ss''})\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('115','55','content','详情','longtext','','textarea','','','','',NULL,'0','0','44','99','600','1000','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}</label>
  <div class=\"layui-input-inline\">
	<textarea autocomplete=\"off\" name=\"content\" id=\"info_content\" style=\"width:99%;height:600px;\" class=\"layui-input\">{\$r?\$r[''content'']:''''}</textarea>
  </div>
</div>	
','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <textarea class=\"span6\" placeholder=\"\" name=\"content\" id=\"info_content\" style=\"width:99%;height:600px;\"><?=\$r?\$r[''content'']:''''?></textarea>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('138','59','title','标题','varchar','255','text','','','','','','1','0','0','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" name=\"title\" id=\"info_title\" class=\"layui-input modelform_title\" value=\"{\$r?\$r[''title'']:''''}\" style=\"\" autocomplete=\"off\">
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"title\" id=\"info_title\" class=\"span6 modelform_title\" value=\"<?=\$r?\$r[''title'']:''''?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('139','59','thumb','缩略图','varchar','255','image','','','','','','1','0','0','0','0','1000','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline file-upload\">
		<input type=\"text\" name=\"thumb\" id=\"info_thumb\" value=\"{\$r?\$r[''thumb'']:''''}\" autocomplete=\"off\" class=\"layui-input\"/>
		<div class=\"layui-btn-group\">
			<button type=\"button\" class=\"layui-btn\" onclick=\"previewImg(''info_thumb'')\"><i class=\"layui-icon\">&#xe64a;</i>预览</button>
			<button type=\"button\" class=\"layui-btn fastupimg\" data-input_id=\"info_thumb\" data-listtype=\"img\" id=\"info_thumb_Picker\"><i class=\"layui-icon\">&#xe608;</i>上传</button>
			<button type=\"button\" class=\"layui-btn\" onClick=\"selectfile(''info_thumb'','''',''img'')\"><i class=\"layui-icon\">&#xe67c;</i>浏览</button>
		</div>
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"thumb\" id=\"info_thumb\" class=\"span6 modelform_thumb\" value=\"<?=\$r?\$r[''thumb'']:''''?>\" style=\"\"/>
        <input type=\"button\" value=\"上传图片\" onClick=\"\$(this).next().click()\" class=\"liulan fr\">
        <input type=\"file\" onChange=\"ajaxupload(this,function(url){\$(''#info_thumb'').val(url)})\" style=\"height:26px; display:none\">   
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('140','59','newstime','时间','int','11','date','','','','','','1','0','0','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" autocomplete=\"off\" name=\"newstime\" id=\"info_newstime\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"  data-format=\"yyyy-MM-dd HH:mm:ss\" class=\"layui-input form-date\">
  </div>
</div>','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" autocomplete=\"off\" name=\"newstime\" com id=\"info_newstime\" class=\"span2 modelform_newstime\" onFocus=\"WdatePicker({dateFmt:''yyyy-MM-dd HH:mm:ss''})\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('147','59','content','详情','longtext','','textarea','','','','','|add|update|import_add|import_update|','1','0','11','80','400','1000','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}</label>
  <div class=\"layui-input-inline\">
	<textarea autocomplete=\"off\" name=\"content\" id=\"info_content\" style=\"width:80%;height:400px;\" class=\"layui-input\">{\$r?\$r[''content'']:''''}</textarea>
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <textarea class=\"span6\" placeholder=\"\" name=\"content\" id=\"info_content\" style=\"width:80%;height:400px;\"><?=\$r?\$r[''content'']:''''?></textarea>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('152','61','title','标题','varchar','255','text','','','','','','1','0','0','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" name=\"title\" id=\"info_title\" class=\"layui-input modelform_title\" value=\"{\$r?\$r[''title'']:''''}\" style=\"\" autocomplete=\"off\">
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"title\" id=\"info_title\" class=\"span6 modelform_title\" value=\"<?=\$r?\$r[''title'']:''''?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('153','61','thumb','缩略图','varchar','255','image','','','','','','1','0','0','0','0','1000','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline file-upload\">
		<input type=\"text\" name=\"thumb\" id=\"info_thumb\" value=\"{\$r?\$r[''thumb'']:''''}\" autocomplete=\"off\" class=\"layui-input\"/>
		<div class=\"layui-btn-group\">
			<button type=\"button\" class=\"layui-btn\" onclick=\"previewImg(''info_thumb'')\"><i class=\"layui-icon\">&#xe64a;</i>预览</button>
			<button type=\"button\" class=\"layui-btn fastupimg\" data-input_id=\"info_thumb\" data-listtype=\"img\" id=\"info_thumb_Picker\"><i class=\"layui-icon\">&#xe608;</i>上传</button>
			<button type=\"button\" class=\"layui-btn\" onClick=\"selectfile(''info_thumb'','''',''img'')\"><i class=\"layui-icon\">&#xe67c;</i>浏览</button>
		</div>
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"thumb\" id=\"info_thumb\" class=\"span6 modelform_thumb\" value=\"<?=\$r?\$r[''thumb'']:''''?>\" style=\"\"/>
        <input type=\"button\" value=\"上传图片\" onClick=\"\$(this).next().click()\" class=\"liulan fr\">
        <input type=\"file\" onChange=\"ajaxupload(this,function(url){\$(''#info_thumb'').val(url)})\" style=\"height:26px; display:none\">   
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('154','61','newstime','时间','int','11','date','','','','','','1','0','0','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" autocomplete=\"off\" name=\"newstime\" id=\"info_newstime\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"  data-format=\"yyyy-MM-dd HH:mm:ss\" class=\"layui-input form-date\">
  </div>
</div>','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" autocomplete=\"off\" name=\"newstime\" com id=\"info_newstime\" class=\"span2 modelform_newstime\" onFocus=\"WdatePicker({dateFmt:''yyyy-MM-dd HH:mm:ss''})\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('155','61','content','详情','longtext','','textarea','','','','','|add|update|import_add|import_update|','1','0','0','100','500','1000','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}</label>
  <div class=\"layui-input-inline\">
	<textarea autocomplete=\"off\" name=\"content\" id=\"info_content\" style=\"width:100%;height:500px;\" class=\"layui-input\">{\$r?\$r[''content'']:''''}</textarea>
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <textarea class=\"span6\" placeholder=\"\" name=\"content\" id=\"info_content\" style=\"width:100%;height:500px;\"><?=\$r?\$r[''content'']:''''?></textarea>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('156','62','title','标题','varchar','255','text','','','','','','1','0','0','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" name=\"title\" id=\"info_title\" class=\"layui-input modelform_title\" value=\"{\$r?\$r[''title'']:''''}\" style=\"\" autocomplete=\"off\">
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"title\" id=\"info_title\" class=\"span6 modelform_title\" value=\"<?=\$r?\$r[''title'']:''''?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('157','62','thumb','缩略图','varchar','255','image','','','','','','1','0','0','0','0','1000','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline file-upload\">
		<input type=\"text\" name=\"thumb\" id=\"info_thumb\" value=\"{\$r?\$r[''thumb'']:''''}\" autocomplete=\"off\" class=\"layui-input\"/>
		<div class=\"layui-btn-group\">
			<button type=\"button\" class=\"layui-btn\" onclick=\"previewImg(''info_thumb'')\"><i class=\"layui-icon\">&#xe64a;</i>预览</button>
			<button type=\"button\" class=\"layui-btn fastupimg\" data-input_id=\"info_thumb\" data-listtype=\"img\" id=\"info_thumb_Picker\"><i class=\"layui-icon\">&#xe608;</i>上传</button>
			<button type=\"button\" class=\"layui-btn\" onClick=\"selectfile(''info_thumb'','''',''img'')\"><i class=\"layui-icon\">&#xe67c;</i>浏览</button>
		</div>
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"thumb\" id=\"info_thumb\" class=\"span6 modelform_thumb\" value=\"<?=\$r?\$r[''thumb'']:''''?>\" style=\"\"/>
        <input type=\"button\" value=\"上传图片\" onClick=\"\$(this).next().click()\" class=\"liulan fr\">
        <input type=\"file\" onChange=\"ajaxupload(this,function(url){\$(''#info_thumb'').val(url)})\" style=\"height:26px; display:none\">   
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('158','62','newstime','时间','int','11','date','','','','','','1','0','0','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" autocomplete=\"off\" name=\"newstime\" id=\"info_newstime\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"  data-format=\"yyyy-MM-dd HH:mm:ss\" class=\"layui-input form-date\">
  </div>
</div>','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" autocomplete=\"off\" name=\"newstime\" com id=\"info_newstime\" class=\"span2 modelform_newstime\" onFocus=\"WdatePicker({dateFmt:''yyyy-MM-dd HH:mm:ss''})\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('159','54','from','来源','varchar','50','text','','','','','|add|update|import_add|import_update|','1','0','0','0','0','1000','0','科诺','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" name=\"from\" id=\"info_from\" class=\"layui-input modelform_from\" value=\"{\$r?\$r[''from'']:''科诺''}\" style=\"\" autocomplete=\"off\">
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"from\" id=\"info_from\" class=\"span6 modelform_from\" value=\"<?=\$r?\$r[''from'']:''科诺''?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('163','59','type','类型','varchar','100','select','','','','','|add|update|import_add|import_update|','1','0','0','0','0','1000','0','建站
设计
开发','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
        <select lay-ignore name=\"type\" class=\"select2\" style=\"\"><option value=\"建站\" {\$r[''type'']==''建站''?\"selected\":\"\"} >建站</option><option value=\"设计\" {\$r[''type'']==''设计''?\"selected\":\"\"} >设计</option><option value=\"开发\" {\$r[''type'']==''开发''?\"selected\":\"\"} >开发</option></select>
    </div>
</div>','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <select name=\"type\" class=\"modelform_type select2 span6\" style=\"\"><option value=\"建站\" {\$r[''type'']==''建站''?\"selected\":\"\"} >建站</option><option value=\"设计\" {\$r[''type'']==''设计''?\"selected\":\"\"} >设计</option><option value=\"开发\" {\$r[''type'']==''开发''?\"selected\":\"\"} >开发</option></select>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('164','64','title','标题','varchar','255','text','','','','','','1','0','0','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" name=\"title\" id=\"info_title\" class=\"layui-input modelform_title\" value=\"{\$r?\$r[''title'']:''''}\" style=\"\" autocomplete=\"off\">
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"title\" id=\"info_title\" class=\"span6 modelform_title\" value=\"<?=\$r?\$r[''title'']:''''?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('165','64','thumb','缩略图','varchar','255','image','','','','','','1','0','0','0','0','1000','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline file-upload\">
		<input type=\"text\" name=\"thumb\" id=\"info_thumb\" value=\"{\$r?\$r[''thumb'']:''''}\" autocomplete=\"off\" class=\"layui-input\"/>
		<div class=\"layui-btn-group\">
			<button type=\"button\" class=\"layui-btn\" onclick=\"previewImg(''info_thumb'')\"><i class=\"layui-icon\">&#xe64a;</i>预览</button>
			<button type=\"button\" class=\"layui-btn fastupimg\" data-input_id=\"info_thumb\" data-listtype=\"img\" id=\"info_thumb_Picker\"><i class=\"layui-icon\">&#xe608;</i>上传</button>
			<button type=\"button\" class=\"layui-btn\" onClick=\"selectfile(''info_thumb'','''',''img'')\"><i class=\"layui-icon\">&#xe67c;</i>浏览</button>
		</div>
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"thumb\" id=\"info_thumb\" class=\"span6 modelform_thumb\" value=\"<?=\$r?\$r[''thumb'']:''''?>\" style=\"\"/>
        <input type=\"button\" value=\"上传图片\" onClick=\"\$(this).next().click()\" class=\"liulan fr\">
        <input type=\"file\" onChange=\"ajaxupload(this,function(url){\$(''#info_thumb'').val(url)})\" style=\"height:26px; display:none\">   
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('166','64','newstime','时间','int','11','date','','','','','','1','0','0','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" autocomplete=\"off\" name=\"newstime\" id=\"info_newstime\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"  data-format=\"yyyy-MM-dd HH:mm:ss\" class=\"layui-input form-date\">
  </div>
</div>','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" autocomplete=\"off\" name=\"newstime\" com id=\"info_newstime\" class=\"span2 modelform_newstime\" onFocus=\"WdatePicker({dateFmt:''yyyy-MM-dd HH:mm:ss''})\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('167','65','title','标题','varchar','255','text','','','','','','1','0','0','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" name=\"title\" id=\"info_title\" class=\"layui-input modelform_title\" value=\"{\$r?\$r[''title'']:''''}\" style=\"\" autocomplete=\"off\">
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"title\" id=\"info_title\" class=\"span6 modelform_title\" value=\"<?=\$r?\$r[''title'']:''''?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('168','65','thumb','缩略图','varchar','255','image','','','','','','1','0','0','0','0','1000','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline file-upload\">
		<input type=\"text\" name=\"thumb\" id=\"info_thumb\" value=\"{\$r?\$r[''thumb'']:''''}\" autocomplete=\"off\" class=\"layui-input\"/>
		<div class=\"layui-btn-group\">
			<button type=\"button\" class=\"layui-btn\" onclick=\"previewImg(''info_thumb'')\"><i class=\"layui-icon\">&#xe64a;</i>预览</button>
			<button type=\"button\" class=\"layui-btn fastupimg\" data-input_id=\"info_thumb\" data-listtype=\"img\" id=\"info_thumb_Picker\"><i class=\"layui-icon\">&#xe608;</i>上传</button>
			<button type=\"button\" class=\"layui-btn\" onClick=\"selectfile(''info_thumb'','''',''img'')\"><i class=\"layui-icon\">&#xe67c;</i>浏览</button>
		</div>
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"thumb\" id=\"info_thumb\" class=\"span6 modelform_thumb\" value=\"<?=\$r?\$r[''thumb'']:''''?>\" style=\"\"/>
        <input type=\"button\" value=\"上传图片\" onClick=\"\$(this).next().click()\" class=\"liulan fr\">
        <input type=\"file\" onChange=\"ajaxupload(this,function(url){\$(''#info_thumb'').val(url)})\" style=\"height:26px; display:none\">   
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('169','65','newstime','时间','int','11','date','','','','','','1','0','0','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" autocomplete=\"off\" name=\"newstime\" id=\"info_newstime\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"  data-format=\"yyyy-MM-dd HH:mm:ss\" class=\"layui-input form-date\">
  </div>
</div>','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" autocomplete=\"off\" name=\"newstime\" com id=\"info_newstime\" class=\"span2 modelform_newstime\" onFocus=\"WdatePicker({dateFmt:''yyyy-MM-dd HH:mm:ss''})\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('170','65','entitle','英文标题','varchar','255','text','','','','','|add|update|import_add|import_update|','1','0','0','0','0','1600','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" name=\"entitle\" id=\"info_entitle\" class=\"layui-input modelform_entitle\" value=\"{\$r?\$r[''entitle'']:''''}\" style=\"\" autocomplete=\"off\">
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"entitle\" id=\"info_entitle\" class=\"span6 modelform_entitle\" value=\"<?=\$r?\$r[''entitle'']:''''?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('171','65','description1','第一段描述','longtext','255','textarea','','','','','|add|update|import_add|import_update|','1','0','0','0','0','1600','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}</label>
  <div class=\"layui-input-inline\">
	<textarea autocomplete=\"off\" name=\"description1\" id=\"info_description1\" style=\"\" class=\"layui-input\">{\$r?\$r[''description1'']:''''}</textarea>
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <textarea class=\"span6\" placeholder=\"\" name=\"description1\" id=\"info_description1\" style=\"\"><?=\$r?\$r[''description1'']:''''?></textarea>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('172','65','description2','第二段描述','varchar','255','textarea','','','','','|add|update|import_add|import_update|','1','0','0','0','0','1600','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}</label>
  <div class=\"layui-input-inline\">
	<textarea autocomplete=\"off\" name=\"description2\" id=\"info_description2\" style=\"\" class=\"layui-input\">{\$r?\$r[''description2'']:''''}</textarea>
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <textarea class=\"span6\" placeholder=\"\" name=\"description2\" id=\"info_description2\" style=\"\"><?=\$r?\$r[''description2'']:''''?></textarea>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('173','65','data','数据管理','longtext','','morevalue','','','','','|add|update|import_add|import_update|','1','0','0','0','0','1600','0','名称{{FieldSplit}}text{{FieldSplit}}{{FieldSplit}}20{{RsSplit}}内容{{FieldSplit}}textarea{{FieldSplit}}{{FieldSplit}}20','<div class=\"layui-form-item\">
	<label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"layui-input-inline morevalue\">
		<script>
			var data_form_js=''<tr><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"\" name=\"data_0[]\"></td><td class=\"morevalue_textarea\"><textarea onclick=\"moreBigTextarea(this,2)\" class=\"layui-input\" name=\"data_1[]\"></textarea></td><td class=\"morevalue_button\"><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_add(this,data_form_js)\"><i class=\"layui-icon\">&#xe654;</i></a><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_del(this)\"><i class=\"layui-icon\">&#xe640;</i></a></td></tr>'';
		</script>
		<table class=\"layui-table\" style=\"border-right:1px solid #ccc\">
			<thead><tr><th style=\"width:20%\">名称<input type=\"hidden\" name=\"data_morevalue_len[]\" placeholder=\"我只是用于在保存信息的时候用来判断一共有几个morevalue字段的\"></th><th style=\"width:20%\">内容<input type=\"hidden\" name=\"data_morevalue_len[]\" placeholder=\"我只是用于在保存信息的时候用来判断一共有几个morevalue字段的\"></th><th style=\"width:10%\">操作</th></tr></thead>
			<tbody>
				<?php
				if(\$r[''data'']){
					\$morevalue=\$r[''data''];
					\$morevalue_arr=explode(\"{{RsSplit}}\",\$morevalue);
					foreach(\$morevalue_arr as \$k=> \$v){
						if(!\$v){break;}
						\$vs=explode(\"{{FieldSplit}}\",\$v);
				?>				
				<tr><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"<?=\$r?\$vs[''0'']:''''?>\" name=\"data_0[]\"></td><td class=\"morevalue_textarea\"><textarea onclick=\"moreBigTextarea(this,2)\" class=\"layui-input\" name=\"data_1[]\"><?=\$r?\$vs[''1'']:''''?></textarea></td><td class=\"morevalue_button\"><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_add(this,data_form_js)\"><i class=\"layui-icon\">&#xe654;</i></a><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_del(this)\"><i class=\"layui-icon\">&#xe640;</i></a></td></tr>
				<?php
					}                     
				}else{
				?>
				<tr><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"<?=\$r?\$vs[''0'']:''''?>\" name=\"data_0[]\"></td><td class=\"morevalue_textarea\"><textarea onclick=\"moreBigTextarea(this,2)\" class=\"layui-input\" name=\"data_1[]\"><?=\$r?\$vs[''1'']:''''?></textarea></td><td class=\"morevalue_button\"><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_add(this,data_form_js)\"><i class=\"layui-icon\">&#xe654;</i></a><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_del(this)\"><i class=\"layui-icon\">&#xe640;</i></a></td></tr>
				<?php
				}
				?>									
			</tbody>
		</table>
    </div>
</div>','');");
$this->E_D("replace into `db_table_field` values('174','65','images1','多图1','longtext','255','morepic','','','','','|add|update|import_add|import_update|','1','0','0','0','0','1600','0','','<div class=\"layui-form-item\">
	<label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"layui-input-inline morepic\">
        <div class=\"morepic_box\">
            <div class=\"piclist\" data-field=\"images1\">
                <ul id=\"images1_piclist_ul\">
                    <?php
                    if(\$r){
                        \$morepic=\$r[''images1''];
                        \$morepic_arr=explode(\"\\\\r\\\\n\",\$morepic);
                        foreach(\$morepic_arr as \$v){
                            if(!\$v){break;};
                            \$vs=explode(\"||\",\$v);
                    ?>
                    <li title=\"拖动我是可以排序的哦\" draggable=\"false\">
                        <a class=\"piclist_img images1_fancybox\" rel=\"images1_rel\" title=\"<?=\$vs[2]?>\" href=\"<?=\$vs[1]?>\">
                            <img src=\"<?=\$vs[0]?>\" draggable=\"false\">
                            <input type=\"hidden\" name=\"images1_smallimg[]\" value=\"<?=\$vs[0]?>\">
                            <input type=\"hidden\" name=\"images1_bigimg[]\" value=\"<?=\$vs[1]?>\">
                        </a>
                        <div class=\"piclist_title\"><input type=\"text\" name=\"images1_imgname[]\" value=\"<?=\$vs[2]?>\"></div>
                        <div class=\"file-panel\"><span class=\"cancel\" onclick=\"delete_li(this)\" title=\"删除图片\">删除</span></div>
                    </li>
                    <?php
                        }                     
                    }
                    ?>
                    <li class=\"add_morepic\" id=\"images1_add_button\" title=\"增加图片\" onclick=\"selectfiles(''images1'',moreimg,''img'',''1600'',''0'')\">
                        <div class=\"piclist_img\">+</div>
                    </li>                                                
                    <div class=\"clear\"></div>
                </ul>
            </div>                                        
        </div>
    </div>
</div>','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <div class=\"morepic_box\">
            <div class=\"piclist\">
                <ul id=\"images1_piclist_ul\">
                    <?php
                    if(\$r){
                        \$morepic=\$r[''images1''];
                        \$morepic_arr=explode(\"\\\\r\\\\n\",\$morepic);
                        foreach(\$morepic_arr as \$v){
                            if(!\$v){break;};
                            \$vs=explode(\"||\",\$v);
                    ?>
                    <li title=\"拖动我是可以排序的哦\" draggable=\"false\">
                        <div class=\"piclist_img\">
                            <img src=\"<?=\$vs[0]?>\" draggable=\"false\">
                            <input type=\"hidden\" name=\"images1_smallimg[]\" value=\"<?=\$vs[0]?>\">
                            <input type=\"hidden\" name=\"images1_bigimg[]\" value=\"<?=\$vs[1]?>\">
                        </div>
                        <div class=\"piclist_title\"><input type=\"text\" name=\"images1_imgname[]\" value=\"<?=\$vs[2]?>\"></div>
                        <div class=\"file-panel\"><span class=\"cancel\" onclick=\"delete_li(this)\" title=\"删除图片\">删除</span></div>
                    </li>
                    <?php
                        }                     
                    }
                    ?>
                    <li class=\"add_morepic\" id=\"images1_add_button\" title=\"增加图片\" onclick=\"selectfiles(''images1'',moreimg,''img'')\">
                        <div class=\"piclist_img\">+</div>
                    </li>                                                
                    <div class=\"clear\"></div>
                </ul>
            </div>                                        
        </div>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('175','65','images2','多图2','longtext','','morepic','','','','','|add|update|import_add|import_update|','1','0','1','0','0','1600','0','','<div class=\"layui-form-item\">
	<label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"layui-input-inline morepic\">
        <div class=\"morepic_box\">
            <div class=\"piclist\" data-field=\"images2\">
                <ul id=\"images2_piclist_ul\">
                    <?php
                    if(\$r){
                        \$morepic=\$r[''images2''];
                        \$morepic_arr=explode(\"\\\\r\\\\n\",\$morepic);
                        foreach(\$morepic_arr as \$v){
                            if(!\$v){break;};
                            \$vs=explode(\"||\",\$v);
                    ?>
                    <li title=\"拖动我是可以排序的哦\" draggable=\"false\">
                        <a class=\"piclist_img images2_fancybox\" rel=\"images2_rel\" title=\"<?=\$vs[2]?>\" href=\"<?=\$vs[1]?>\">
                            <img src=\"<?=\$vs[0]?>\" draggable=\"false\">
                            <input type=\"hidden\" name=\"images2_smallimg[]\" value=\"<?=\$vs[0]?>\">
                            <input type=\"hidden\" name=\"images2_bigimg[]\" value=\"<?=\$vs[1]?>\">
                        </a>
                        <div class=\"piclist_title\"><input type=\"text\" name=\"images2_imgname[]\" value=\"<?=\$vs[2]?>\"></div>
                        <div class=\"file-panel\"><span class=\"cancel\" onclick=\"delete_li(this)\" title=\"删除图片\">删除</span></div>
                    </li>
                    <?php
                        }                     
                    }
                    ?>
                    <li class=\"add_morepic\" id=\"images2_add_button\" title=\"增加图片\" onclick=\"selectfiles(''images2'',moreimg,''img'',''1600'','''')\">
                        <div class=\"piclist_img\">+</div>
                    </li>                                                
                    <div class=\"clear\"></div>
                </ul>
            </div>                                        
        </div>
    </div>
</div>','
<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <div class=\"morepic_box\">
            <div class=\"piclist\">
                <ul id=\"images2_piclist_ul\">
                    <?php
                    if(\$r){
                        \$morepic=\$r[''images2''];
                        \$morepic_arr=explode(\"\\\\r\\\\n\",\$morepic);
                        foreach(\$morepic_arr as \$v){
                            if(!\$v){break;};
                            \$vs=explode(\"||\",\$v);
                    ?>
                    <li title=\"拖动我是可以排序的哦\" draggable=\"false\">
                        <div class=\"piclist_img\">
                            <img src=\"<?=\$vs[0]?>\" draggable=\"false\">
                            <input type=\"hidden\" name=\"images2_smallimg[]\" value=\"<?=\$vs[0]?>\">
                            <input type=\"hidden\" name=\"images2_bigimg[]\" value=\"<?=\$vs[1]?>\">
                        </div>
                        <div class=\"piclist_title\"><input type=\"text\" name=\"images2_imgname[]\" value=\"<?=\$vs[2]?>\"></div>
                        <div class=\"file-panel\"><span class=\"cancel\" onclick=\"delete_li(this)\" title=\"删除图片\">删除</span></div>
                    </li>
                    <?php
                        }                     
                    }
                    ?>
                    <li class=\"add_morepic\" id=\"images2_add_button\" title=\"增加图片\" onclick=\"selectfiles(''images2'',moreimg,''img'')\">
                        <div class=\"piclist_img\">+</div>
                    </li>                                                
                    <div class=\"clear\"></div>
                </ul>
            </div>                                        
        </div>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('176','66','title','标题','varchar','255','text','','','','','','1','0','0','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" name=\"title\" id=\"info_title\" class=\"layui-input modelform_title\" value=\"{\$r?\$r[''title'']:''''}\" style=\"\" autocomplete=\"off\">
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"title\" id=\"info_title\" class=\"span6 modelform_title\" value=\"<?=\$r?\$r[''title'']:''''?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('177','66','thumb','缩略图','varchar','255','image','','','','','','1','0','0','0','0','1000','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline file-upload\">
		<input type=\"text\" name=\"thumb\" id=\"info_thumb\" value=\"{\$r?\$r[''thumb'']:''''}\" autocomplete=\"off\" class=\"layui-input\"/>
		<div class=\"layui-btn-group\">
			<button type=\"button\" class=\"layui-btn\" onclick=\"previewImg(''info_thumb'')\"><i class=\"layui-icon\">&#xe64a;</i>预览</button>
			<button type=\"button\" class=\"layui-btn fastupimg\" data-input_id=\"info_thumb\" data-listtype=\"img\" id=\"info_thumb_Picker\"><i class=\"layui-icon\">&#xe608;</i>上传</button>
			<button type=\"button\" class=\"layui-btn\" onClick=\"selectfile(''info_thumb'','''',''img'')\"><i class=\"layui-icon\">&#xe67c;</i>浏览</button>
		</div>
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"thumb\" id=\"info_thumb\" class=\"span6 modelform_thumb\" value=\"<?=\$r?\$r[''thumb'']:''''?>\" style=\"\"/>
        <input type=\"button\" value=\"上传图片\" onClick=\"\$(this).next().click()\" class=\"liulan fr\">
        <input type=\"file\" onChange=\"ajaxupload(this,function(url){\$(''#info_thumb'').val(url)})\" style=\"height:26px; display:none\">   
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('178','66','newstime','时间','int','11','date','','','','','','1','0','0','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" autocomplete=\"off\" name=\"newstime\" id=\"info_newstime\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"  data-format=\"yyyy-MM-dd HH:mm:ss\" class=\"layui-input form-date\">
  </div>
</div>','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" autocomplete=\"off\" name=\"newstime\" com id=\"info_newstime\" class=\"span2 modelform_newstime\" onFocus=\"WdatePicker({dateFmt:''yyyy-MM-dd HH:mm:ss''})\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('179','66','entitle','英文标题','varchar','255','text','','','','','|add|update|import_add|import_update|','1','0','0','0','0','1600','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" name=\"entitle\" id=\"info_entitle\" class=\"layui-input modelform_entitle\" value=\"{\$r?\$r[''entitle'']:''''}\" style=\"\" autocomplete=\"off\">
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"entitle\" id=\"info_entitle\" class=\"span6 modelform_entitle\" value=\"<?=\$r?\$r[''entitle'']:''''?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('180','66','data','数据','longtext','','morevalue','','','','','|add|update|import_add|import_update|','1','0','0','0','0','1600','0','图标{{FieldSplit}}image{{FieldSplit}}{{FieldSplit}}14{{RsSplit}}图标标题{{FieldSplit}}text{{FieldSplit}}{{FieldSplit}}14{{RsSplit}}描述{{FieldSplit}}textarea{{FieldSplit}}{{FieldSplit}}14{{RsSplit}}图片{{FieldSplit}}image{{FieldSplit}}{{FieldSplit}}14{{RsSplit}}跳转链接{{FieldSplit}}text{{FieldSplit}}{{FieldSplit}}14{{RsSplit}}遮罩标题{{FieldSplit}}text{{FieldSplit}}{{FieldSplit}}14{{RsSplit}}遮罩描述{{FieldSplit}}textarea{{FieldSplit}}{{FieldSplit}}14','<div class=\"layui-form-item\">
	<label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"layui-input-inline morevalue\">
		<script>
			var data_form_js=''<tr><td class=\"morevalue_image\"><input value=\"\" id=\"randImgId\" name=\"data_0[]\"><a class=\"layui-btn layui-btn-sm\" onClick=\"selectfile(\\\\''randImgId\\\\'',\\\\''\\\\'',\\\\''img\\\\'',\\\\''\\\\'',\\\\''\\\\'')\"><i class=\"layui-icon\">&#xe681;</i></a><a class=\"layui-btn layui-btn-sm\" onClick=\"morevaluePreImg(\\\\''randImgId\\\\'')\"><i class=\"layui-icon\">&#xe615;</i></a></td><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"\" name=\"data_1[]\"></td><td class=\"morevalue_textarea\"><textarea onclick=\"moreBigTextarea(this,2)\" class=\"layui-input\" name=\"data_2[]\"></textarea></td><td class=\"morevalue_image\"><input value=\"\" id=\"randImgId\" name=\"data_3[]\"><a class=\"layui-btn layui-btn-sm\" onClick=\"selectfile(\\\\''randImgId\\\\'',\\\\''\\\\'',\\\\''img\\\\'',\\\\''\\\\'',\\\\''\\\\'')\"><i class=\"layui-icon\">&#xe681;</i></a><a class=\"layui-btn layui-btn-sm\" onClick=\"morevaluePreImg(\\\\''randImgId\\\\'')\"><i class=\"layui-icon\">&#xe615;</i></a></td><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"\" name=\"data_4[]\"></td><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"\" name=\"data_5[]\"></td><td class=\"morevalue_textarea\"><textarea onclick=\"moreBigTextarea(this,2)\" class=\"layui-input\" name=\"data_6[]\"></textarea></td><td class=\"morevalue_button\"><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_add(this,data_form_js)\"><i class=\"layui-icon\">&#xe654;</i></a><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_del(this)\"><i class=\"layui-icon\">&#xe640;</i></a></td></tr>'';
		</script>
		<table class=\"layui-table\" style=\"border-right:1px solid #ccc\">
			<thead><tr><th style=\"width:14%\">图标<input type=\"hidden\" name=\"data_morevalue_len[]\" placeholder=\"我只是用于在保存信息的时候用来判断一共有几个morevalue字段的\"></th><th style=\"width:14%\">图标标题<input type=\"hidden\" name=\"data_morevalue_len[]\" placeholder=\"我只是用于在保存信息的时候用来判断一共有几个morevalue字段的\"></th><th style=\"width:14%\">描述<input type=\"hidden\" name=\"data_morevalue_len[]\" placeholder=\"我只是用于在保存信息的时候用来判断一共有几个morevalue字段的\"></th><th style=\"width:14%\">图片<input type=\"hidden\" name=\"data_morevalue_len[]\" placeholder=\"我只是用于在保存信息的时候用来判断一共有几个morevalue字段的\"></th><th style=\"width:14%\">跳转链接<input type=\"hidden\" name=\"data_morevalue_len[]\" placeholder=\"我只是用于在保存信息的时候用来判断一共有几个morevalue字段的\"></th><th style=\"width:14%\">遮罩标题<input type=\"hidden\" name=\"data_morevalue_len[]\" placeholder=\"我只是用于在保存信息的时候用来判断一共有几个morevalue字段的\"></th><th style=\"width:14%\">遮罩描述<input type=\"hidden\" name=\"data_morevalue_len[]\" placeholder=\"我只是用于在保存信息的时候用来判断一共有几个morevalue字段的\"></th><th style=\"width:10%\">操作</th></tr></thead>
			<tbody>
				<?php
				if(\$r[''data'']){
					\$morevalue=\$r[''data''];
					\$morevalue_arr=explode(\"{{RsSplit}}\",\$morevalue);
					foreach(\$morevalue_arr as \$k=> \$v){
						if(!\$v){break;}
						\$vs=explode(\"{{FieldSplit}}\",\$v);
				?>				
				<tr><td class=\"morevalue_image\"><input value=\"<?=\$r?\$vs[''0'']:''''?>\" id=\"data_0_<?=\$k?>\" name=\"data_0[]\"><a class=\"layui-btn layui-btn-sm\"  onClick=\"selectfile(''data_0_<?=\$k?>'','''',''img'','''','''')\"><i class=\"layui-icon\">&#xe681;</i></a><a class=\"layui-btn layui-btn-sm\"  onClick=\"morevaluePreImg(''data_0_<?=\$k?>'')\"><i class=\"layui-icon\">&#xe615;</i></a></td><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"<?=\$r?\$vs[''1'']:''''?>\" name=\"data_1[]\"></td><td class=\"morevalue_textarea\"><textarea onclick=\"moreBigTextarea(this,2)\" class=\"layui-input\" name=\"data_2[]\"><?=\$r?\$vs[''2'']:''''?></textarea></td><td class=\"morevalue_image\"><input value=\"<?=\$r?\$vs[''3'']:''''?>\" id=\"data_3_<?=\$k?>\" name=\"data_3[]\"><a class=\"layui-btn layui-btn-sm\"  onClick=\"selectfile(''data_3_<?=\$k?>'','''',''img'','''','''')\"><i class=\"layui-icon\">&#xe681;</i></a><a class=\"layui-btn layui-btn-sm\"  onClick=\"morevaluePreImg(''data_3_<?=\$k?>'')\"><i class=\"layui-icon\">&#xe615;</i></a></td><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"<?=\$r?\$vs[''4'']:''''?>\" name=\"data_4[]\"></td><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"<?=\$r?\$vs[''5'']:''''?>\" name=\"data_5[]\"></td><td class=\"morevalue_textarea\"><textarea onclick=\"moreBigTextarea(this,2)\" class=\"layui-input\" name=\"data_6[]\"><?=\$r?\$vs[''6'']:''''?></textarea></td><td class=\"morevalue_button\"><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_add(this,data_form_js)\"><i class=\"layui-icon\">&#xe654;</i></a><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_del(this)\"><i class=\"layui-icon\">&#xe640;</i></a></td></tr>
				<?php
					}                     
				}else{
				?>
				<tr><td class=\"morevalue_image\"><input value=\"<?=\$r?\$vs[''0'']:''''?>\" id=\"data_0_<?=\$k?>\" name=\"data_0[]\"><a class=\"layui-btn layui-btn-sm\"  onClick=\"selectfile(''data_0_<?=\$k?>'','''',''img'','''','''')\"><i class=\"layui-icon\">&#xe681;</i></a><a class=\"layui-btn layui-btn-sm\"  onClick=\"morevaluePreImg(''data_0_<?=\$k?>'')\"><i class=\"layui-icon\">&#xe615;</i></a></td><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"<?=\$r?\$vs[''1'']:''''?>\" name=\"data_1[]\"></td><td class=\"morevalue_textarea\"><textarea onclick=\"moreBigTextarea(this,2)\" class=\"layui-input\" name=\"data_2[]\"><?=\$r?\$vs[''2'']:''''?></textarea></td><td class=\"morevalue_image\"><input value=\"<?=\$r?\$vs[''3'']:''''?>\" id=\"data_3_<?=\$k?>\" name=\"data_3[]\"><a class=\"layui-btn layui-btn-sm\"  onClick=\"selectfile(''data_3_<?=\$k?>'','''',''img'','''','''')\"><i class=\"layui-icon\">&#xe681;</i></a><a class=\"layui-btn layui-btn-sm\"  onClick=\"morevaluePreImg(''data_3_<?=\$k?>'')\"><i class=\"layui-icon\">&#xe615;</i></a></td><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"<?=\$r?\$vs[''4'']:''''?>\" name=\"data_4[]\"></td><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"<?=\$r?\$vs[''5'']:''''?>\" name=\"data_5[]\"></td><td class=\"morevalue_textarea\"><textarea onclick=\"moreBigTextarea(this,2)\" class=\"layui-input\" name=\"data_6[]\"><?=\$r?\$vs[''6'']:''''?></textarea></td><td class=\"morevalue_button\"><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_add(this,data_form_js)\"><i class=\"layui-icon\">&#xe654;</i></a><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_del(this)\"><i class=\"layui-icon\">&#xe640;</i></a></td></tr>
				<?php
				}
				?>									
			</tbody>
		</table>
    </div>
</div>','');");
$this->E_D("replace into `db_table_field` values('181','66','description1','描述','text','','textarea','','','','','|add|update|import_add|import_update|','1','0','0','0','0','1600','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}</label>
  <div class=\"layui-input-inline\">
	<textarea autocomplete=\"off\" name=\"description1\" id=\"info_description1\" style=\"\" class=\"layui-input\">{\$r?\$r[''description1'']:''''}</textarea>
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <textarea class=\"span6\" placeholder=\"\" name=\"description1\" id=\"info_description1\" style=\"\"><?=\$r?\$r[''description1'']:''''?></textarea>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('182','67','title','标题','varchar','255','text','','','','','','1','0','0','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" name=\"title\" id=\"info_title\" class=\"layui-input modelform_title\" value=\"{\$r?\$r[''title'']:''''}\" style=\"\" autocomplete=\"off\">
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"title\" id=\"info_title\" class=\"span6 modelform_title\" value=\"<?=\$r?\$r[''title'']:''''?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('183','67','thumb','缩略图','varchar','255','image','','','','','','1','0','0','0','0','1000','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline file-upload\">
		<input type=\"text\" name=\"thumb\" id=\"info_thumb\" value=\"{\$r?\$r[''thumb'']:''''}\" autocomplete=\"off\" class=\"layui-input\"/>
		<div class=\"layui-btn-group\">
			<button type=\"button\" class=\"layui-btn\" onclick=\"previewImg(''info_thumb'')\"><i class=\"layui-icon\">&#xe64a;</i>预览</button>
			<button type=\"button\" class=\"layui-btn fastupimg\" data-input_id=\"info_thumb\" data-listtype=\"img\" id=\"info_thumb_Picker\"><i class=\"layui-icon\">&#xe608;</i>上传</button>
			<button type=\"button\" class=\"layui-btn\" onClick=\"selectfile(''info_thumb'','''',''img'')\"><i class=\"layui-icon\">&#xe67c;</i>浏览</button>
		</div>
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"thumb\" id=\"info_thumb\" class=\"span6 modelform_thumb\" value=\"<?=\$r?\$r[''thumb'']:''''?>\" style=\"\"/>
        <input type=\"button\" value=\"上传图片\" onClick=\"\$(this).next().click()\" class=\"liulan fr\">
        <input type=\"file\" onChange=\"ajaxupload(this,function(url){\$(''#info_thumb'').val(url)})\" style=\"height:26px; display:none\">   
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('184','67','newstime','时间','int','11','date','','','','','','1','0','0','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" autocomplete=\"off\" name=\"newstime\" id=\"info_newstime\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"  data-format=\"yyyy-MM-dd HH:mm:ss\" class=\"layui-input form-date\">
  </div>
</div>','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" autocomplete=\"off\" name=\"newstime\" com id=\"info_newstime\" class=\"span2 modelform_newstime\" onFocus=\"WdatePicker({dateFmt:''yyyy-MM-dd HH:mm:ss''})\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('185','67','entitle','英文标题','varchar','255','text','','','','','|add|update|import_add|import_update|','1','0','0','0','0','1600','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" name=\"entitle\" id=\"info_entitle\" class=\"layui-input modelform_entitle\" value=\"{\$r?\$r[''entitle'']:''''}\" style=\"\" autocomplete=\"off\">
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"entitle\" id=\"info_entitle\" class=\"span6 modelform_entitle\" value=\"<?=\$r?\$r[''entitle'']:''''?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('186','67','data','多值字段','longtext','','morevalue','','','','','|add|update|import_add|import_update|','1','0','0','0','0','1600','0','标题{{FieldSplit}}text{{FieldSplit}}{{FieldSplit}}20{{RsSplit}}时间,描述{{FieldSplit}}textarea{{FieldSplit}}{{FieldSplit}}20{{RsSplit}}图片{{FieldSplit}}image{{FieldSplit}}{{FieldSplit}}20{{RsSplit}}图片标题{{FieldSplit}}text{{FieldSplit}}{{FieldSplit}}20{{RsSplit}}第二段描述{{FieldSplit}}text{{FieldSplit}}{{FieldSplit}}20','<div class=\"layui-form-item\">
	<label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"layui-input-inline morevalue\">
		<script>
			var data_form_js=''<tr><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"\" name=\"data_0[]\"></td><td class=\"morevalue_textarea\"><textarea onclick=\"moreBigTextarea(this,2)\" class=\"layui-input\" name=\"data_1[]\"></textarea></td><td class=\"morevalue_image\"><input value=\"\" id=\"randImgId\" name=\"data_2[]\"><a class=\"layui-btn layui-btn-sm\" onClick=\"selectfile(\\\\''randImgId\\\\'',\\\\''\\\\'',\\\\''img\\\\'',\\\\''\\\\'',\\\\''\\\\'')\"><i class=\"layui-icon\">&#xe681;</i></a><a class=\"layui-btn layui-btn-sm\" onClick=\"morevaluePreImg(\\\\''randImgId\\\\'')\"><i class=\"layui-icon\">&#xe615;</i></a></td><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"\" name=\"data_3[]\"></td><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"\" name=\"data_4[]\"></td><td class=\"morevalue_button\"><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_add(this,data_form_js)\"><i class=\"layui-icon\">&#xe654;</i></a><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_del(this)\"><i class=\"layui-icon\">&#xe640;</i></a></td></tr>'';
		</script>
		<table class=\"layui-table\" style=\"border-right:1px solid #ccc\">
			<thead><tr><th style=\"width:20%\">标题<input type=\"hidden\" name=\"data_morevalue_len[]\" placeholder=\"我只是用于在保存信息的时候用来判断一共有几个morevalue字段的\"></th><th style=\"width:20%\">时间,描述<input type=\"hidden\" name=\"data_morevalue_len[]\" placeholder=\"我只是用于在保存信息的时候用来判断一共有几个morevalue字段的\"></th><th style=\"width:20%\">图片<input type=\"hidden\" name=\"data_morevalue_len[]\" placeholder=\"我只是用于在保存信息的时候用来判断一共有几个morevalue字段的\"></th><th style=\"width:20%\">图片标题<input type=\"hidden\" name=\"data_morevalue_len[]\" placeholder=\"我只是用于在保存信息的时候用来判断一共有几个morevalue字段的\"></th><th style=\"width:20%\">第二段描述<input type=\"hidden\" name=\"data_morevalue_len[]\" placeholder=\"我只是用于在保存信息的时候用来判断一共有几个morevalue字段的\"></th><th style=\"width:10%\">操作</th></tr></thead>
			<tbody>
				<?php
				if(\$r[''data'']){
					\$morevalue=\$r[''data''];
					\$morevalue_arr=explode(\"{{RsSplit}}\",\$morevalue);
					foreach(\$morevalue_arr as \$k=> \$v){
						if(!\$v){break;}
						\$vs=explode(\"{{FieldSplit}}\",\$v);
				?>				
				<tr><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"<?=\$r?\$vs[''0'']:''''?>\" name=\"data_0[]\"></td><td class=\"morevalue_textarea\"><textarea onclick=\"moreBigTextarea(this,2)\" class=\"layui-input\" name=\"data_1[]\"><?=\$r?\$vs[''1'']:''''?></textarea></td><td class=\"morevalue_image\"><input value=\"<?=\$r?\$vs[''2'']:''''?>\" id=\"data_2_<?=\$k?>\" name=\"data_2[]\"><a class=\"layui-btn layui-btn-sm\"  onClick=\"selectfile(''data_2_<?=\$k?>'','''',''img'','''','''')\"><i class=\"layui-icon\">&#xe681;</i></a><a class=\"layui-btn layui-btn-sm\"  onClick=\"morevaluePreImg(''data_2_<?=\$k?>'')\"><i class=\"layui-icon\">&#xe615;</i></a></td><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"<?=\$r?\$vs[''3'']:''''?>\" name=\"data_3[]\"></td><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"<?=\$r?\$vs[''4'']:''''?>\" name=\"data_4[]\"></td><td class=\"morevalue_button\"><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_add(this,data_form_js)\"><i class=\"layui-icon\">&#xe654;</i></a><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_del(this)\"><i class=\"layui-icon\">&#xe640;</i></a></td></tr>
				<?php
					}                     
				}else{
				?>
				<tr><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"<?=\$r?\$vs[''0'']:''''?>\" name=\"data_0[]\"></td><td class=\"morevalue_textarea\"><textarea onclick=\"moreBigTextarea(this,2)\" class=\"layui-input\" name=\"data_1[]\"><?=\$r?\$vs[''1'']:''''?></textarea></td><td class=\"morevalue_image\"><input value=\"<?=\$r?\$vs[''2'']:''''?>\" id=\"data_2_<?=\$k?>\" name=\"data_2[]\"><a class=\"layui-btn layui-btn-sm\"  onClick=\"selectfile(''data_2_<?=\$k?>'','''',''img'','''','''')\"><i class=\"layui-icon\">&#xe681;</i></a><a class=\"layui-btn layui-btn-sm\"  onClick=\"morevaluePreImg(''data_2_<?=\$k?>'')\"><i class=\"layui-icon\">&#xe615;</i></a></td><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"<?=\$r?\$vs[''3'']:''''?>\" name=\"data_3[]\"></td><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"<?=\$r?\$vs[''4'']:''''?>\" name=\"data_4[]\"></td><td class=\"morevalue_button\"><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_add(this,data_form_js)\"><i class=\"layui-icon\">&#xe654;</i></a><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_del(this)\"><i class=\"layui-icon\">&#xe640;</i></a></td></tr>
				<?php
				}
				?>									
			</tbody>
		</table>
    </div>
</div>','');");
$this->E_D("replace into `db_table_field` values('187','68','title','标题','varchar','255','text','','','','','','1','0','0','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" name=\"title\" id=\"info_title\" class=\"layui-input modelform_title\" value=\"{\$r?\$r[''title'']:''''}\" style=\"\" autocomplete=\"off\">
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"title\" id=\"info_title\" class=\"span6 modelform_title\" value=\"<?=\$r?\$r[''title'']:''''?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('188','68','thumb','缩略图','varchar','255','image','364*300','','','',NULL,'1','0','0','0','0','1000','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span>364*300</span></label>
  <div class=\"layui-input-inline file-upload\">
		<input type=\"text\" name=\"thumb\" id=\"info_thumb\" value=\"{\$r?\$r[''thumb'']:''''}\" autocomplete=\"off\" class=\"layui-input\"/>
		<div class=\"layui-btn-group\">
			<button type=\"button\" class=\"layui-btn\" onclick=\"previewImg(''info_thumb'')\"><i class=\"layui-icon\">&#xe64a;</i>预览</button>
			<button type=\"button\" class=\"layui-btn fastupimg\" data-input_id=\"info_thumb\" data-listtype=\"img\" id=\"info_thumb_Picker\"><i class=\"layui-icon\">&#xe608;</i>上传</button>
			<button type=\"button\" class=\"layui-btn\" onClick=\"selectfile(''info_thumb'','''',''img'')\"><i class=\"layui-icon\">&#xe67c;</i>浏览</button>
		</div>
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"thumb\" id=\"info_thumb\" class=\"span6 modelform_thumb\" value=\"<?=\$r?\$r[''thumb'']:''''?>\" style=\"\"/>
        <input type=\"button\" value=\"上传图片\" onClick=\"\$(this).next().click()\" class=\"liulan fr\">
        <input type=\"file\" onChange=\"ajaxupload(this,function(url){\$(''#info_thumb'').val(url)})\" style=\"height:26px; display:none\">   
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('189','68','newstime','时间','int','11','date','','','','','','1','0','0','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" autocomplete=\"off\" name=\"newstime\" id=\"info_newstime\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"  data-format=\"yyyy-MM-dd HH:mm:ss\" class=\"layui-input form-date\">
  </div>
</div>','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" autocomplete=\"off\" name=\"newstime\" com id=\"info_newstime\" class=\"span2 modelform_newstime\" onFocus=\"WdatePicker({dateFmt:''yyyy-MM-dd HH:mm:ss''})\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('190','68','characteristic','产品特点','longtext','','morevalue','','','','','|add|update|import_add|import_update|','1','0','1','0','0','1600','0','产品特点{{FieldSplit}}text{{FieldSplit}}{{FieldSplit}}20','<div class=\"layui-form-item\">
	<label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"layui-input-inline morevalue\">
		<script>
			var characteristic_form_js=''<tr><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"\" name=\"characteristic_0[]\"></td><td class=\"morevalue_button\"><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_add(this,characteristic_form_js)\"><i class=\"layui-icon\">&#xe654;</i></a><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_del(this)\"><i class=\"layui-icon\">&#xe640;</i></a></td></tr>'';
		</script>
		<table class=\"layui-table\" style=\"border-right:1px solid #ccc\">
			<thead><tr><th style=\"width:20%\">产品特点<input type=\"hidden\" name=\"characteristic_morevalue_len[]\" placeholder=\"我只是用于在保存信息的时候用来判断一共有几个morevalue字段的\"></th><th style=\"width:10%\">操作</th></tr></thead>
			<tbody>
				<?php
				if(\$r[''characteristic'']){
					\$morevalue=\$r[''characteristic''];
					\$morevalue_arr=explode(\"{{RsSplit}}\",\$morevalue);
					foreach(\$morevalue_arr as \$k=> \$v){
						if(!\$v){break;}
						\$vs=explode(\"{{FieldSplit}}\",\$v);
				?>				
				<tr><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"<?=\$r?\$vs[''0'']:''''?>\" name=\"characteristic_0[]\"></td><td class=\"morevalue_button\"><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_add(this,characteristic_form_js)\"><i class=\"layui-icon\">&#xe654;</i></a><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_del(this)\"><i class=\"layui-icon\">&#xe640;</i></a></td></tr>
				<?php
					}                     
				}else{
				?>
				<tr><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"<?=\$r?\$vs[''0'']:''''?>\" name=\"characteristic_0[]\"></td><td class=\"morevalue_button\"><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_add(this,characteristic_form_js)\"><i class=\"layui-icon\">&#xe654;</i></a><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_del(this)\"><i class=\"layui-icon\">&#xe640;</i></a></td></tr>
				<?php
				}
				?>									
			</tbody>
		</table>
    </div>
</div>','');");
$this->E_D("replace into `db_table_field` values('191','68','explain','产品说明书','varchar','','file','','','','','|add|update|import_add|import_update|','1','0','0','0','0','1600','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline file-upload\">
		<input type=\"text\" name=\"explain\" id=\"info_explain\" autocomplete=\"off\" class=\"layui-input modelform_explain\" value=\"{\$r?\$r[''explain'']:''''}\" style=\"\"/>
		<div class=\"layui-btn-group\">
			<button type=\"button\" class=\"layui-btn\" onclick=\"downloadFile(''info_explain'')\"><i class=\"layui-icon\">&#xe601;</i>下载</button>
			<button type=\"button\" class=\"layui-btn fastupimg\" data-input_id=\"info_explain\" data-listtype=\"file\" id=\"info_explain_Picker\"><i class=\"layui-icon\">&#xe608;</i>上传</button>
			<button type=\"button\" class=\"layui-btn\" onClick=\"selectfile(''info_explain'','''',''file'')\"><i class=\"layui-icon\">&#xe67c;</i>浏览</button>
		</div>
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"thumb\" id=\"info_explain\" class=\"span6 modelform_explain\" value=\"<?=\$r?\$r[''explain'']:''''?>\" style=\"\"/>
        <input type=\"button\" value=\"上传文件\" onClick=\"\$(this).next().click()\" class=\"liulan fr\">
        <input type=\"file\" onChange=\"ajaxuploadfile(this,function(url){\$(''#info_explain'').val(url)})\" style=\"height:26px; display:none\">   
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('192','68','video','产品视频','varchar','255','video','','','','','|add|update|import_add|import_update|','1','0','0','0','0','1600','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline file-upload\">
		<input type=\"text\" name=\"video\" id=\"info_video\" autocomplete=\"off\" class=\"layui-input modelform_video\" value=\"{\$r?\$r[''video'']:''''}\" style=\"\"/>
		<div class=\"layui-btn-group\">
			<button type=\"button\" class=\"layui-btn\" onclick=\"playVideo(''info_video'')\"><i class=\"layui-icon\">&#xe6ed;</i>播放</button>
			<button type=\"button\" class=\"layui-btn fastupimg\" data-input_id=\"info_video\" data-listtype=\"video\" id=\"info_video_Picker\"><i class=\"layui-icon\">&#xe608;</i>上传</button>
			<button type=\"button\" class=\"layui-btn\" onClick=\"selectfile(''info_video'','''',''video'')\"><i class=\"layui-icon\">&#xe67c;</i>浏览</button>
		</div>
  </div>
</div>	','');");
$this->E_D("replace into `db_table_field` values('193','68','images','产品应用图片','longtext','255','morepic','','','','','|add|update|import_add|import_update|','1','0','1','0','0','1600','0','','<div class=\"layui-form-item\">
	<label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"layui-input-inline morepic\">
        <div class=\"morepic_box\">
            <div class=\"piclist\" data-field=\"images\">
                <ul id=\"images_piclist_ul\">
                    <?php
                    if(\$r){
                        \$morepic=\$r[''images''];
                        \$morepic_arr=explode(\"\\\\r\\\\n\",\$morepic);
                        foreach(\$morepic_arr as \$v){
                            if(!\$v){break;};
                            \$vs=explode(\"||\",\$v);
                    ?>
                    <li title=\"拖动我是可以排序的哦\" draggable=\"false\">
                        <a class=\"piclist_img images_fancybox\" rel=\"images_rel\" title=\"<?=\$vs[2]?>\" href=\"<?=\$vs[1]?>\">
                            <img src=\"<?=\$vs[0]?>\" draggable=\"false\">
                            <input type=\"hidden\" name=\"images_smallimg[]\" value=\"<?=\$vs[0]?>\">
                            <input type=\"hidden\" name=\"images_bigimg[]\" value=\"<?=\$vs[1]?>\">
                        </a>
                        <div class=\"piclist_title\"><input type=\"text\" name=\"images_imgname[]\" value=\"<?=\$vs[2]?>\"></div>
                        <div class=\"file-panel\"><span class=\"cancel\" onclick=\"delete_li(this)\" title=\"删除图片\">删除</span></div>
                    </li>
                    <?php
                        }                     
                    }
                    ?>
                    <li class=\"add_morepic\" id=\"images_add_button\" title=\"增加图片\" onclick=\"selectfiles(''images'',moreimg,''img'',''1600'','''')\">
                        <div class=\"piclist_img\">+</div>
                    </li>                                                
                    <div class=\"clear\"></div>
                </ul>
            </div>                                        
        </div>
    </div>
</div>','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <div class=\"morepic_box\">
            <div class=\"piclist\">
                <ul id=\"images_piclist_ul\">
                    <?php
                    if(\$r){
                        \$morepic=\$r[''images''];
                        \$morepic_arr=explode(\"\\\\r\\\\n\",\$morepic);
                        foreach(\$morepic_arr as \$v){
                            if(!\$v){break;};
                            \$vs=explode(\"||\",\$v);
                    ?>
                    <li title=\"拖动我是可以排序的哦\" draggable=\"false\">
                        <div class=\"piclist_img\">
                            <img src=\"<?=\$vs[0]?>\" draggable=\"false\">
                            <input type=\"hidden\" name=\"images_smallimg[]\" value=\"<?=\$vs[0]?>\">
                            <input type=\"hidden\" name=\"images_bigimg[]\" value=\"<?=\$vs[1]?>\">
                        </div>
                        <div class=\"piclist_title\"><input type=\"text\" name=\"images_imgname[]\" value=\"<?=\$vs[2]?>\"></div>
                        <div class=\"file-panel\"><span class=\"cancel\" onclick=\"delete_li(this)\" title=\"删除图片\">删除</span></div>
                    </li>
                    <?php
                        }                     
                    }
                    ?>
                    <li class=\"add_morepic\" id=\"images_add_button\" title=\"增加图片\" onclick=\"selectfiles(''images'',moreimg,''img'')\">
                        <div class=\"piclist_img\">+</div>
                    </li>                                                
                    <div class=\"clear\"></div>
                </ul>
            </div>                                        
        </div>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('194','68','parameter','技术参数','longtext','','editor','','','','','|add|update|import_add|import_update|','1','0','1','0','0','1600','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
        <div class=\"news_editor\" editor_name=\"parameter\" editor_width=\"0%\" editor_height=\"500\" imgwidth=\"1600\" imgheight=\"\"><script id=\"parameter\" name=\"parameter\" type=\"text/plain\">{\$r?htmlspecialchars_decode(\$r[''parameter'']):''''}</script></div>
        远程图片保存本地<input type=\"checkbox\" name=\"parameter_saveFile\" lay-ignore value=\"1\" checked> &nbsp;&nbsp;
        提取第一张图做为缩略图（如果缩略图为空的情况下）<input type=\"checkbox\" lay-ignore  name=\"parameter_getFirstImg\" value=\"1\">   
  </div>
</div>	','<div class=\"control-group newstext_control\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <div class=\"news_editor\" editor_name=\"parameter\" editor_width=\"\" editor_height=\"\" imgwidth=\"1600\" imgheight=\"0\">
			<script id=\"parameter\" name=\"parameter\" type=\"text/plain\"><?=\$r?htmlspecialchars_decode(\$r[''parameter'']):''''?></script>
		</div>
    </div>
</div>  ');");
$this->E_D("replace into `db_table_field` values('195','68','content','产品详情','longtext','','editor','','','','','|add|update|import_add|import_update|','1','0','1','100','500','1600','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
        <div class=\"news_editor\" editor_name=\"content\" editor_width=\"100%\" editor_height=\"500\" imgwidth=\"1600\" imgheight=\"\"><script id=\"content\" name=\"content\" type=\"text/plain\">{\$r?htmlspecialchars_decode(\$r[''content'']):''''}</script></div>
        远程图片保存本地<input type=\"checkbox\" name=\"content_saveFile\" lay-ignore value=\"1\" checked> &nbsp;&nbsp;
        提取第一张图做为缩略图（如果缩略图为空的情况下）<input type=\"checkbox\" lay-ignore  name=\"content_getFirstImg\" value=\"1\">   
  </div>
</div>	','<div class=\"control-group newstext_control\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <div class=\"news_editor\" editor_name=\"content\" editor_width=\"width:100%;\" editor_height=\"height:500px;\" imgwidth=\"1600\" imgheight=\"\">
			<script id=\"content\" name=\"content\" type=\"text/plain\"><?=\$r?htmlspecialchars_decode(\$r[''content'']):''''?></script>
		</div>
    </div>
</div>  ');");
$this->E_D("replace into `db_table_field` values('196','68','other','产品组成','longtext','255','morevalue','','','','','|add|update|import_add|import_update|','1','0','1','0','0','1600','0','缩略图{{FieldSplit}}image{{FieldSplit}}{{FieldSplit}}20{{RsSplit}}标题{{FieldSplit}}text{{FieldSplit}}{{FieldSplit}}20{{RsSplit}}跳转链接{{FieldSplit}}text{{FieldSplit}}{{FieldSplit}}20','<div class=\"layui-form-item\">
	<label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"layui-input-inline morevalue\">
		<script>
			var other_form_js=''<tr><td class=\"morevalue_image\"><input value=\"\" id=\"randImgId\" name=\"other_0[]\"><a class=\"layui-btn layui-btn-sm\" onClick=\"selectfile(\\\\''randImgId\\\\'',\\\\''\\\\'',\\\\''img\\\\'',\\\\''\\\\'',\\\\''\\\\'')\"><i class=\"layui-icon\">&#xe681;</i></a><a class=\"layui-btn layui-btn-sm\" onClick=\"morevaluePreImg(\\\\''randImgId\\\\'')\"><i class=\"layui-icon\">&#xe615;</i></a></td><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"\" name=\"other_1[]\"></td><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"\" name=\"other_2[]\"></td><td class=\"morevalue_button\"><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_add(this,other_form_js)\"><i class=\"layui-icon\">&#xe654;</i></a><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_del(this)\"><i class=\"layui-icon\">&#xe640;</i></a></td></tr>'';
		</script>
		<table class=\"layui-table\" style=\"border-right:1px solid #ccc\">
			<thead><tr><th style=\"width:20%\">缩略图<input type=\"hidden\" name=\"other_morevalue_len[]\" placeholder=\"我只是用于在保存信息的时候用来判断一共有几个morevalue字段的\"></th><th style=\"width:20%\">标题<input type=\"hidden\" name=\"other_morevalue_len[]\" placeholder=\"我只是用于在保存信息的时候用来判断一共有几个morevalue字段的\"></th><th style=\"width:20%\">跳转链接<input type=\"hidden\" name=\"other_morevalue_len[]\" placeholder=\"我只是用于在保存信息的时候用来判断一共有几个morevalue字段的\"></th><th style=\"width:10%\">操作</th></tr></thead>
			<tbody>
				<?php
				if(\$r[''other'']){
					\$morevalue=\$r[''other''];
					\$morevalue_arr=explode(\"{{RsSplit}}\",\$morevalue);
					foreach(\$morevalue_arr as \$k=> \$v){
						if(!\$v){break;}
						\$vs=explode(\"{{FieldSplit}}\",\$v);
				?>				
				<tr><td class=\"morevalue_image\"><input value=\"<?=\$r?\$vs[''0'']:''''?>\" id=\"other_0_<?=\$k?>\" name=\"other_0[]\"><a class=\"layui-btn layui-btn-sm\"  onClick=\"selectfile(''other_0_<?=\$k?>'','''',''img'','''','''')\"><i class=\"layui-icon\">&#xe681;</i></a><a class=\"layui-btn layui-btn-sm\"  onClick=\"morevaluePreImg(''other_0_<?=\$k?>'')\"><i class=\"layui-icon\">&#xe615;</i></a></td><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"<?=\$r?\$vs[''1'']:''''?>\" name=\"other_1[]\"></td><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"<?=\$r?\$vs[''2'']:''''?>\" name=\"other_2[]\"></td><td class=\"morevalue_button\"><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_add(this,other_form_js)\"><i class=\"layui-icon\">&#xe654;</i></a><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_del(this)\"><i class=\"layui-icon\">&#xe640;</i></a></td></tr>
				<?php
					}                     
				}else{
				?>
				<tr><td class=\"morevalue_image\"><input value=\"<?=\$r?\$vs[''0'']:''''?>\" id=\"other_0_<?=\$k?>\" name=\"other_0[]\"><a class=\"layui-btn layui-btn-sm\"  onClick=\"selectfile(''other_0_<?=\$k?>'','''',''img'','''','''')\"><i class=\"layui-icon\">&#xe681;</i></a><a class=\"layui-btn layui-btn-sm\"  onClick=\"morevaluePreImg(''other_0_<?=\$k?>'')\"><i class=\"layui-icon\">&#xe615;</i></a></td><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"<?=\$r?\$vs[''1'']:''''?>\" name=\"other_1[]\"></td><td class=\"morevalue_input\"><input class=\"layui-input\" placeholder=\"\" value=\"<?=\$r?\$vs[''2'']:''''?>\" name=\"other_2[]\"></td><td class=\"morevalue_button\"><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_add(this,other_form_js)\"><i class=\"layui-icon\">&#xe654;</i></a><a class=\"layui-btn layui-btn-primary layui-btn-sm\" onclick=\"morevalue_del(this)\"><i class=\"layui-icon\">&#xe640;</i></a></td></tr>
				<?php
				}
				?>									
			</tbody>
		</table>
    </div>
</div>','');");
$this->E_D("replace into `db_table_field` values('197','68','biaoqian','标签','varchar','255','text','','','','','|add|update|import_add|import_update|','1','0','0','0','0','1600','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" name=\"biaoqian\" id=\"info_biaoqian\" class=\"layui-input modelform_biaoqian\" value=\"{\$r?\$r[''biaoqian'']:''''}\" style=\"\" autocomplete=\"off\">
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"biaoqian\" id=\"info_biaoqian\" class=\"span6 modelform_biaoqian\" value=\"<?=\$r?\$r[''biaoqian'']:''''?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('198','65','icon2','第二图标','varchar','','image','','','','','|add|update|import_add|import_update|','1','0','1','0','0','1600','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline file-upload\">
		<input type=\"text\" name=\"icon2\" id=\"info_icon2\" value=\"{\$r?\$r[''icon2'']:''''}\" autocomplete=\"off\" class=\"layui-input\"/>
		<div class=\"layui-btn-group\">
			<button type=\"button\" class=\"layui-btn\" onclick=\"previewImg(''info_icon2'')\"><i class=\"layui-icon\">&#xe64a;</i>预览</button>
			<button type=\"button\" class=\"layui-btn fastupimg\" data-input_id=\"info_icon2\" data-listtype=\"img\" id=\"info_icon2_Picker\"><i class=\"layui-icon\">&#xe608;</i>上传</button>
			<button type=\"button\" class=\"layui-btn\" onClick=\"selectfile(''info_icon2'','''',''img'')\"><i class=\"layui-icon\">&#xe67c;</i>浏览</button>
		</div>
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"thumb\" id=\"info_icon2\" class=\"span6 modelform_icon2\" value=\"<?=\$r?\$r[''icon2'']:''''?>\" style=\"\"/>
        <input type=\"button\" value=\"上传图片\" onClick=\"\$(this).next().click()\" class=\"liulan fr\">
        <input type=\"file\" onChange=\"ajaxupload(this,function(url){\$(''#info_icon2'').val(url)})\" style=\"height:26px; display:none\">   
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('199','54','content','新闻详情','longtext','','editor','','','','','|add|update|import_add|import_update|','1','0','1','100','500','1600','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
        <div class=\"news_editor\" editor_name=\"content\" editor_width=\"100%\" editor_height=\"500\" imgwidth=\"1600\" imgheight=\"\"><script id=\"content\" name=\"content\" type=\"text/plain\">{\$r?htmlspecialchars_decode(\$r[''content'']):''''}</script></div>
        远程图片保存本地<input type=\"checkbox\" name=\"content_saveFile\" lay-ignore value=\"1\" checked> &nbsp;&nbsp;
        提取第一张图做为缩略图（如果缩略图为空的情况下）<input type=\"checkbox\" lay-ignore  name=\"content_getFirstImg\" value=\"1\">   
  </div>
</div>	','<div class=\"control-group newstext_control\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <div class=\"news_editor\" editor_name=\"content\" editor_width=\"width:100%;\" editor_height=\"height:500px;\" imgwidth=\"1600\" imgheight=\"\">
			<script id=\"content\" name=\"content\" type=\"text/plain\"><?=\$r?htmlspecialchars_decode(\$r[''content'']):''''?></script>
		</div>
    </div>
</div>  ');");
$this->E_D("replace into `db_table_field` values('200','54','file','文件','varchar','255','file','','','','','|add|update|import_add|import_update|','1','0','0','0','0','1600','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline file-upload\">
		<input type=\"text\" name=\"file\" id=\"info_file\" autocomplete=\"off\" class=\"layui-input modelform_file\" value=\"{\$r?\$r[''file'']:''''}\" style=\"\"/>
		<div class=\"layui-btn-group\">
			<button type=\"button\" class=\"layui-btn\" onclick=\"downloadFile(''info_file'')\"><i class=\"layui-icon\">&#xe601;</i>下载</button>
			<button type=\"button\" class=\"layui-btn fastupimg\" data-input_id=\"info_file\" data-listtype=\"file\" id=\"info_file_Picker\"><i class=\"layui-icon\">&#xe608;</i>上传</button>
			<button type=\"button\" class=\"layui-btn\" onClick=\"selectfile(''info_file'','''',''file'')\"><i class=\"layui-icon\">&#xe67c;</i>浏览</button>
		</div>
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"thumb\" id=\"info_file\" class=\"span6 modelform_file\" value=\"<?=\$r?\$r[''file'']:''''?>\" style=\"\"/>
        <input type=\"button\" value=\"上传文件\" onClick=\"\$(this).next().click()\" class=\"liulan fr\">
        <input type=\"file\" onChange=\"ajaxuploadfile(this,function(url){\$(''#info_file'').val(url)})\" style=\"height:26px; display:none\">   
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('201','69','title','标题','varchar','255','text','','','','','','1','0','0','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" name=\"title\" id=\"info_title\" class=\"layui-input modelform_title\" value=\"{\$r?\$r[''title'']:''''}\" style=\"\" autocomplete=\"off\">
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"title\" id=\"info_title\" class=\"span6 modelform_title\" value=\"<?=\$r?\$r[''title'']:''''?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('202','69','thumb','缩略图','varchar','255','image','','','','','','1','0','0','0','0','1000','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline file-upload\">
		<input type=\"text\" name=\"thumb\" id=\"info_thumb\" value=\"{\$r?\$r[''thumb'']:''''}\" autocomplete=\"off\" class=\"layui-input\"/>
		<div class=\"layui-btn-group\">
			<button type=\"button\" class=\"layui-btn\" onclick=\"previewImg(''info_thumb'')\"><i class=\"layui-icon\">&#xe64a;</i>预览</button>
			<button type=\"button\" class=\"layui-btn fastupimg\" data-input_id=\"info_thumb\" data-listtype=\"img\" id=\"info_thumb_Picker\"><i class=\"layui-icon\">&#xe608;</i>上传</button>
			<button type=\"button\" class=\"layui-btn\" onClick=\"selectfile(''info_thumb'','''',''img'')\"><i class=\"layui-icon\">&#xe67c;</i>浏览</button>
		</div>
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"thumb\" id=\"info_thumb\" class=\"span6 modelform_thumb\" value=\"<?=\$r?\$r[''thumb'']:''''?>\" style=\"\"/>
        <input type=\"button\" value=\"上传图片\" onClick=\"\$(this).next().click()\" class=\"liulan fr\">
        <input type=\"file\" onChange=\"ajaxupload(this,function(url){\$(''#info_thumb'').val(url)})\" style=\"height:26px; display:none\">   
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('203','69','newstime','时间','int','11','date','','','','','','1','0','0','0','0','0','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" autocomplete=\"off\" name=\"newstime\" id=\"info_newstime\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"  data-format=\"yyyy-MM-dd HH:mm:ss\" class=\"layui-input form-date\">
  </div>
</div>','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" autocomplete=\"off\" name=\"newstime\" com id=\"info_newstime\" class=\"span2 modelform_newstime\" onFocus=\"WdatePicker({dateFmt:''yyyy-MM-dd HH:mm:ss''})\" value=\"<?=\$r?date(\"Y-m-d H:i:s\",\$r[''newstime'']):date(\"Y-m-d H:i:s\")?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('204','69','num','招聘人数','varchar','255','text','','','','','|add|update|import_add|import_update|','1','0','0','0','0','1600','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" name=\"num\" id=\"info_num\" class=\"layui-input modelform_num\" value=\"{\$r?\$r[''num'']:''''}\" style=\"\" autocomplete=\"off\">
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"num\" id=\"info_num\" class=\"span6 modelform_num\" value=\"<?=\$r?\$r[''num'']:''''?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('205','69','address','工作地点','varchar','255','text','','','','','|add|update|import_add|import_update|','1','0','0','0','0','1600','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
	<input type=\"text\"  placeholder=\"\" name=\"address\" id=\"info_address\" class=\"layui-input modelform_address\" value=\"{\$r?\$r[''address'']:''''}\" style=\"\" autocomplete=\"off\">
  </div>
</div>	','<div class=\"control-group\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <input type=\"text\" placeholder=\"\" name=\"address\" id=\"info_address\" class=\"span6 modelform_address\" value=\"<?=\$r?\$r[''address'']:''''?>\" style=\"\"/>
    </div>
</div>');");
$this->E_D("replace into `db_table_field` values('206','69','post','岗位描述','longtext','','editor','','','','','|add|update|import_add|import_update|','1','0','0','100','500','1600','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
        <div class=\"news_editor\" editor_name=\"post\" editor_width=\"100%\" editor_height=\"500\" imgwidth=\"1600\" imgheight=\"\"><script id=\"post\" name=\"post\" type=\"text/plain\">{\$r?htmlspecialchars_decode(\$r[''post'']):''''}</script></div>
        远程图片保存本地<input type=\"checkbox\" name=\"post_saveFile\" lay-ignore value=\"1\" checked> &nbsp;&nbsp;
        提取第一张图做为缩略图（如果缩略图为空的情况下）<input type=\"checkbox\" lay-ignore  name=\"post_getFirstImg\" value=\"1\">   
  </div>
</div>	','<div class=\"control-group newstext_control\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <div class=\"news_editor\" editor_name=\"post\" editor_width=\"width:100%;\" editor_height=\"height:500px;\" imgwidth=\"1600\" imgheight=\"\">
			<script id=\"post\" name=\"post\" type=\"text/plain\"><?=\$r?htmlspecialchars_decode(\$r[''post'']):''''?></script>
		</div>
    </div>
</div>  ');");
$this->E_D("replace into `db_table_field` values('207','69','requirement','任职要求','longtext','','editor','','','','','|add|update|import_add|import_update|','1','0','0','100','500','1600','0','','<div class=\"layui-form-item\">
  <label class=\"layui-form-label\">{modelFieldTemp_name}<span></span></label>
  <div class=\"layui-input-inline\">
        <div class=\"news_editor\" editor_name=\"requirement\" editor_width=\"100%\" editor_height=\"500\" imgwidth=\"1600\" imgheight=\"\"><script id=\"requirement\" name=\"requirement\" type=\"text/plain\">{\$r?htmlspecialchars_decode(\$r[''requirement'']):''''}</script></div>
        远程图片保存本地<input type=\"checkbox\" name=\"requirement_saveFile\" lay-ignore value=\"1\" checked> &nbsp;&nbsp;
        提取第一张图做为缩略图（如果缩略图为空的情况下）<input type=\"checkbox\" lay-ignore  name=\"requirement_getFirstImg\" value=\"1\">   
  </div>
</div>	','<div class=\"control-group newstext_control\">
    <label class=\"control-label\">{modelFieldTemp_name}<span></span></label>
    <div class=\"controls\">
        <div class=\"news_editor\" editor_name=\"requirement\" editor_width=\"width:100%;\" editor_height=\"height:500px;\" imgwidth=\"1600\" imgheight=\"\">
			<script id=\"requirement\" name=\"requirement\" type=\"text/plain\"><?=\$r?htmlspecialchars_decode(\$r[''requirement'']):''''?></script>
		</div>
    </div>
</div>  ');");

 ?>